package com.xing.config.shiro;

import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Bradish7Y on 2017/9/16.
 */
@Configuration
public class BeanPostConfig {
    @Bean(name = "lifecycleBeanPostProcessor")
    public LifecycleBeanPostProcessor lifecycleBeanPostProcessor() {
        //log.info("load lifecycleBeanPostProcessor.....");

        return new LifecycleBeanPostProcessor();
    }
}
